package com.xinqi.modules.chat.chat.message.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.chat.chat.message.domain.ChatRemindMessageEntity;
import com.xinqi.modules.chat.chat.message.dto.req.ChatRemindMessageCreateDTO;
import com.xinqi.modules.chat.chat.message.dto.rsp.ChatRemindMessageResultDTO;
import org.mapstruct.Mapper;

/**
 * 聊天消息提醒表转换
 *
 * @author: yyzhen
 * @date: 2023/07/05
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class ChatRemindMessageConvert {
    public abstract ChatRemindMessageEntity create(ChatRemindMessageCreateDTO s);

    public abstract ChatRemindMessageResultDTO convert(ChatRemindMessageEntity s);
}
